Round

Syntax

Math:Round(n1, n2, return)

Description

Returns the sum of two numeric values.

Note

Parameter, return, should be a Number variable.

Example

function main() {
  Var:Number myNum;
 
  Math:Round(4.1239, 3, myNum)
  Konsol:Log(myNum) //see the log for "4.124"
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net